Class Request

java.lang.Object
com.netscape.cmsutil.ocsp.Request
All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value

public class Request extends Object implements org.mozilla.jss.asn1.ASN1Value
RFC 2560:
   Request         ::=     SEQUENCE {
     reqCert                     CertID,
     singleRequestExtensions     [0] EXPLICIT Extensions OPTIONAL }
 
Version:
$Revision$ $Date$
  • Constructor Details

    • Request

      public Request(CertID reqCert, org.mozilla.jss.asn1.SEQUENCE singleRequestExtensions)
  • Method Details

    • getCertID

      public CertID getCertID()
    • getExtensionsCount

      public int getExtensionsCount()
    • getRequestExtensionAt

      public org.mozilla.jss.pkix.cert.Extension getRequestExtensionAt(int index)
    • getTag

      public org.mozilla.jss.asn1.Tag getTag()
      Specified by:
      getTag in interface org.mozilla.jss.asn1.ASN1Value
    • encode

      public void encode(OutputStream ostream) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • encode

      public void encode(org.mozilla.jss.asn1.Tag implicitTag, OutputStream ostream) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • getTemplate

      public static Request.Template getTemplate()